package top.heue.test.activity.flash

import top.heue.test.databinding.ActivityFlashBinding
import top.heue.utils.base.base.BaseActivity
import top.heue.utils.base.helper.inflate
import top.heue.utils.lifecycle.helper.viewModel

class FlashActivity : BaseActivity() {
    private val flashModel: FlashModel by viewModel()
    private val bind: ActivityFlashBinding by inflate {
        flash = flashModel
    }

    override fun onCreate() {
        super.onCreate()
        setContentView(bind.root)
        flashModel.init(this)
    }
}